#17274: Apply filtering only on merged capabilities#17284
Conversation
Review Summary by QodoApply capability filtering after merge operation
WalkthroughsDescription• Apply filtering after merging capabilities instead of before • Ensures browserName is removed when app-related capabilities present • Fixes issue where mobile slot stereotype browserName was not filtered • Adds test case for Appium app capability precedence over browserName File Changes1. java/src/org/openqa/selenium/grid/node/relay/RelaySessionFactory.java
|
Code Review by Qodo
|
java/src/org/openqa/selenium/grid/node/relay/RelaySessionFactory.java
Outdated
Show resolved
Hide resolved
asolntsev
left a comment
There was a problem hiding this comment.
I didn't dive too deep, but looks reasonable to me.
|
@bhecquet, thank you for the fix, and also apologize for the regression issue around this area in recent releases, hopefully 4.43.0 is a good one. |
90dd44f
into
SeleniumHQ:release-preparation-selenium-4.43.0
* bump versions * update devtools versions * update dependencies * changelogs updated * rust changelogs updated * update selenium manager versions * update multitool binaries * #17274: Apply filtering only on merged capabilities (#17284) * Apply filtering only on merged capabilities * Fix lint --------- Co-authored-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> --------- Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com> Co-authored-by: bhecquet <bhecquet@users.noreply.github.com> Co-authored-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
🔗 Related Issues
Fixes #17274 where a browserName in stereotype of mobile slot is not filtered
💥 What does this PR do?
This PR restore filtering after capabilities merging, so that session capabilities contains browserName only if no app related capability is present
🔄 Types of changes